import Vue from 'vue'
import Router from 'vue-router'

import study from '@/components/study'
import online from '@/views/online'
import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'studyserver',
      component: study
    },
    {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/online',
      name: 'online',
      component: online
    },
  ]
})
